package com.edt.ichannel.api.service.impl;

import com.edt.ichannel.api.common.constant.CommonConstant;
import com.edt.ichannel.api.common.entity.ActionResult;
import com.edt.ichannel.api.dao.PushUseridDao;
import com.edt.ichannel.api.entiy.local.PushUserid;
import com.edt.ichannel.api.service.PushUseridService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class PushUseridServiceImpl implements PushUseridService {
    @Resource
    private PushUseridDao pushUseridDao;
    @Override
    public ActionResult savePushUserid(PushUserid pushuserid) {
        ActionResult result = new ActionResult();
        pushUseridDao.savePushUserid(pushuserid);
        result.setSuccess(CommonConstant.ACTIONRESULT_TRUE);
        result.setMessage("添加成功");
        return result;
    }
}
